Vue refactor, Vue Cli/templates, Custom Events

Oscar Miras

Oscar Miras

Singulars 2021

What are we going to do today?#

  • Refactor Vue exercises: taking advantage of some core JavaScript features
  • Vue-Cli: a better way to develope vue apps.
  • Component communication: how children and parent components communicate
  • Tik tok video feedback

Daily Highlights#

  • We learned about a new tool to scaffold Vue projects
  • ESLint tool to check error prone code.
  • We can access to parent's component HTML attributes with the variable 'this.$attrs'
  • We can define custom events to communicate data to parent component from a child components.

What are we going to do next class?#

  • Feedback to the tik tok please
  • Exercises with Vue files project
  • Finish Tik Tok video
  • Link video